package com.yfp.file.domain;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * 分片上传记录(PartUploadLog)实体类
 *
 * 
 * @since 2024-01-11 16:50:27
 */
@Schema(title = "")
public class PartUploadLog implements Serializable {
    private static final long serialVersionUID = -93518655174893562L;
    /**
     * 唯一键
     */
    @Schema(title = "唯一键")
    private Long id;
    /**
     * 唯一上传id
     */
    @Schema(title = "唯一上传id")
    private String uploadId;
    /**
     * 当前片数
     */
    @Schema(title = "当前片数")
    private Integer partNumber;
    /**
     * 当前片的md5值
     */
    @Schema(title = "当前片的md5值")
    private String md5;
    /**
     * 分片上传结果(json)
     */
    @Schema(title = "分片上传结果(json)")
    private String uploadResult;
    /**
     * 上传时间
     */
    @Schema(title = "上传时间")
    private Date uploadTime;
    /**
     * 图片地址
     */
    @Schema(title = "图片地址")
    private String paths;
    /**
     * 状态 1-成功 0-失败
     */
    @Schema(title = "状态 1-成功 0-失败")
    private Integer status;
    @Schema(title = "当前片大小")
    private Long size;

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUploadId() {
        return uploadId;
    }

    public void setUploadId(String uploadId) {
        this.uploadId = uploadId;
    }

    public Integer getPartNumber() {
        return partNumber;
    }

    public void setPartNumber(Integer partNumber) {
        this.partNumber = partNumber;
    }

    public String getMd5() {
        return md5;
    }

    public void setMd5(String md5) {
        this.md5 = md5;
    }

    public String getUploadResult() {
        return uploadResult;
    }

    public void setUploadResult(String uploadResult) {
        this.uploadResult = uploadResult;
    }

    public Date getUploadTime() {
        return uploadTime;
    }

    public void setUploadTime(Date uploadTime) {
        this.uploadTime = uploadTime;
    }

    public String getPaths() {
        return paths;
    }

    public void setPaths(String paths) {
        this.paths = paths;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}

